package com.totoro.tygeneratedragonblock.manager;

import com.totoro.tygeneratedragonblock.TyGenerateDragonBlock;
import com.totoro.tygeneratedragonblock.data.ChunkCoordinate;
import lombok.Getter;

import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author Totoro
 * @version 0.1.0
 * @date 2025/8/11 - 13:40
 * @description 区块映射管理器
 **/
public class ChunkMappingManager {

    private final TyGenerateDragonBlock plugin;

    @Getter
    private final Map<ChunkCoordinate, Set<String>> chunkSpawnMap = new ConcurrentHashMap<>();
    @Getter
    private final Map<String, ChunkCoordinate> spawnChunkMap = new ConcurrentHashMap<>();

    public ChunkMappingManager(TyGenerateDragonBlock plugin) {
        this.plugin = plugin;
    }

}
